import { Injectable } from '@angular/core';
import {FrameContext,BindingData,Repository} from '@farris/devkit';
@Injectable()
export class SbssLuStandPopFrmControllerService {
  constructor(
        private frameContext:FrameContext,
  ) {}

  /**
   * 周期描述值变化事件
   * @remarks 
   * @returns 
   */
  cycleLabelValueChanged(): any {
    let cycleLabel = this.frameContext.bindingData.getValue(['cycleLabel'])
    if (cycleLabel >= 7 ){
      this.frameContext.bindingData.setValue(['cycleValue'],0,true,true)
    }
  }
}
